package com.x.reader.model;

import com.x.framework.Base;
import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseModel;
import com.x.reader.util.Constant;

@MappingTable(tableName = "READER_BOOK")
public class Book extends BaseModel {
    @MappingColumn(columnName = "book_id", columnLength = 32, columnPk = true)
    private String bookId;

    @MappingColumn(columnName = "book_title")
    private String bookTitle;

    @MappingColumn(columnName = "book_press")
    private String bookPress;

    @MappingColumn(columnName = "book_author")
    private String bookAuthor;

    @MappingColumn(columnName = "book_cover")
    private String bookCover;

    private String bookImage;

    @MappingColumn(columnName = "book_brief")
    private String bookBrief;

    @MappingColumn(columnName = "book_file")
    private String bookFile;

    @MappingColumn(columnName = "book_page_size")
    private Integer bookPageSize;

    @MappingColumn(columnName = "book_create_time")
    private String bookCreateTime;

    @MappingColumn(columnName = "category_id")
    private Integer categoryId;

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getBookTitle() {
        return bookTitle;
    }

    public void setBookTitle(String bookTitle) {
        this.bookTitle = bookTitle;
    }

    public String getBookPress() {
        return bookPress;
    }

    public void setBookPress(String bookPress) {
        this.bookPress = bookPress;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    public String getBookCover() {
        return bookCover;
    }

    public void setBookCover(String bookCover) {
        this.bookCover = bookCover;
    }

    public String getBookImage() {
        return bookImage;
    }

    public void setBookImage(String bookImage) {
        this.bookImage = bookImage;
    }

    public String getBookBrief() {
        return bookBrief;
    }

    public void setBookBrief(String bookBrief) {
        this.bookBrief = bookBrief;
    }

    public String getBookFile() {
        return bookFile;
    }

    public void setBookFile(String bookFile) {
        this.bookFile = bookFile;
    }

    public Integer getBookPageSize() {
        return bookPageSize;
    }

    public void setBookPageSize(Integer bookPageSize) {
        this.bookPageSize = bookPageSize;
    }

    public String getBookCreateTime() {
        return bookCreateTime;
    }

    public void setBookCreateTime(String bookCreateTime) {
        this.bookCreateTime = bookCreateTime;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }
}
